/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.insta.calendarMicroBlogage;

import com.kx.insta.traitement.FacebookBean;

import g4p_controls.GWindow;
import static processing.core.PApplet.println;
import static processing.core.PConstants.JAVA2D;

import controlP5.ControlP5;
import g4p_controls.*;
import g4p_controls.GLabel;
 // Utilisation du paquetage video Movie myMovie;
//import codeanticode.gsvideo.*;
import processing.core.PApplet;
import processing.core.PImage;
import remixlab.proscene.*;
/**
 *
 * @author liban
 */
public class SceneFacebook extends CreateScene{
   
    private String renderer;
    private SecondApplet s;
    PFrame f;
    
    public SceneFacebook (String myName){
    setMyname(myName);
    //this.social= new FacebookBean();
    }
    
    
    // Getters and Setters 
    public String getRenderer() {
        return renderer;
     
    }

    public void setRenderer(String renderer) {
        
        this.renderer = renderer;
    }

    // Methode
    @Override
    public void setup() {
    }

    @Override
    public void draw() {
        
     }
    
   public void createWindows(String witchWindow, boolean CloseWindow) {
      
         setCloseWindow(true);
       f = new PFrame(this.social);
    /*   
        println("Making Window");
        this.window = new GWindow(this, witchWindow, 500, 50, 477, 538, false, JAVA2D);
        this.window.addOnCloseHandler(this, "windowClosing");
        this.window.setActionOnClose(GWindow.CLOSE_WINDOW);
        setCloseWindow(true);
        */
    }

    @Override
   public void windowClosing(GWindow w) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
 
    
}
